<?php
class EcardAttr_model extends CI_Model{
	public function __construct(){
		$this->load->database();
	}
	

	//模板信息
	
	public function getEcardAttr($eid){
		$this->db->order_by('order asc');
		$query = $this->db->get_where('ecard_attr',array('eid'=>$eid));
		return $query->result_array();
	}
	
}
?>